// author by welong
// zuowl@qq.com
// 2014-09-04  9:22
// PAT basic 1002

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

void int2str(int num, char *output, int *length)
{
	int i = 0;
	*length = 0;

	while(num != 0)
	{
		output[i++] = num % 10 + '0';
		num /= 10;
		*length += 1;
	}
	output[i] = 0;
}

int main(int argc, char **argv)
{
	int i = 0, sum = 0, temp;
	char input [101];
	char output[10];
	char pinyin[10][10] = {"ling", "yi" , "er", "san", "si", "wu"  , "liu", "qi", "ba" , "jiu"};

	scanf("%s", input);
	while(input[i] != '\0')
	{
		sum += input[i++] - '0';
	}

	int2str(sum, output, &i);

	while(i > 0)
	{
		temp = output[--i] - '0';
		printf("%s", pinyin[temp]);

		if(i > 0)
			printf(" ");
		else
			break;
	}

	return 0;
}